package com.example.votemanage.config;

public class WxApiConfig {
    /**微信小程序appid*/
    public final static String APPID="wx6294273a5ce2d2d0";
    /**微信小程序密钥*/
    public final static String APP_SECRET="ee2c155e0694f5b409b67f57da1126dc";


    /**登录凭证校验API接口*/
    public final static String WXLOGIN_JSCODE2SESSION="https://api.weixin.qq.com/sns/jscode2session" +
                                                "?appid="+APPID+
                                                "&secret="+APP_SECRET+
                                                "&grant_type=authorization_code";


    /**小程序太阳码生成令牌接口*/
    public final static String ACCESS_TOKEN="https://api.weixin.qq.com/cgi-bin/token" +
            "?grant_type=client_credential" +
            "&appid="+APPID+
            "&secret="+APP_SECRET;

    /**生成小程序码*/
    public final static String WX_CODE="https://api.weixin.qq.com/wxa/getwxacode";
}
